Integration Enabled
This webhook is sent when an integration is enabled by a retailer. The json configuration allows for an integration to configure ui elements that will have the result of the configuration sent back to the integration. This allows for the integration to request information from the retailer that is needed to complete the integration. The integration can then use this information to identify the retailer and the user that enabled the integration.
Request Body
The request body must be a JSON object with the following properties:
retailerId
(string, required): The ID of the retailer that enabled the integration.retailerName
(string): The name of the retailer that enabled the integration.configJson
(object, required): A JSON object containing the result of the configuration for the integration.
Example Request Body
{
"retailerId": "ebed869d-bdf4-4b0a-8442-5b8f23753247",
"retailerName": "Bobs Motors",
"configJson": {
"token": "some requested item"
}
}